package com.siwei.mes.enums;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;

/**
 * @Description: 角色枚举
 * @Version: 1.0
 * @author: chenmaolin
 * @date: 2023/11/29 20:53
 */
@Getter
public enum RoleEnum {
    TESTER("1", "试验员"),
    TESTER_DIRECTOR("2", "试验室主任"),
    CHIEF_ENGINEER("3", "总工"),
    EXTERNAL_INSPECTOR("4", "外检员"),
    ADMIN("5", "admin"),
    TEAM_LEADER("6", "外检组长");


    @ApiModelProperty(value = "第三方类型")
    private String code;

    @ApiModelProperty(value = "类型描述")
    private String desc;

    RoleEnum(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }
}
